SUMMARY:
This creates a delay that lasts about 3 seconds long.
It adds that 3 second long pause at the end of each one of these functions.
This way, you won't accidentally activate a function multiple times with a button combination.
It's a counter that starts at 0 and counts up to 8000000 hex, or 134217728.


200ffecc 340e0000 ori t6, zero, $0000         Sets where the counter starts, at 0.
200ffed0 3c0f0800 lui t7, $0800               Sets how high the counter will count to.
200ffed4 15cffffe bne t6, t7, $000ffed0       Goes back down 1 to the previous address after adding 1 to the counter until t6 (starts at 0) becomes t7 (8000000).
200ffed8 25ce0001 addiu t6, t6, $0001         Adds 1 to the counter.
200ffedc 8f1f000c lw ra, $000c(t8)            Loads the return address from 000ffffc.
200ffee0 03e00008 jr ra